package com.heima.wemedia.service;

import com.heima.model.comment.dto.CommentConfigDto;
import com.heima.model.comment.pojos.CommentLike;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmCommentAndRepayDto;
import com.heima.model.wemedia.dtos.WmCommentDto;

public interface WmCommentService {
    PageResponseResult commentManagementQueries(WmCommentDto wmCommentDto);

    ResponseResult updateCommentStatus(CommentConfigDto wmUpdateStatusDto);

    ResponseResult list(WmCommentAndRepayDto wmCommentAndRepayDto);
    /**
     * 删除评论回复功能
     * @param commentRepayId
     * @return
     */
    ResponseResult delCommentRepay(String commentRepayId);

    ResponseResult delComment(String commentId);


    /**
     * 作者点赞操作
     *
     * @param commentLike 评论喜欢
     * @return {@link ResponseResult}
     */
    ResponseResult like(CommentLike commentLike);
}
